<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>题目1</title>
    <style>
        body {
            background-color: black;
            padding: 0;
            margin: 0;
        }
        header {
            background-color: red;
            height: 50px;
            line-height: 50px;
            display: flex;
            justify-content: space-between;
            align-content: center;
            text-align: center;
        }
        .left {
            background-color: white;
            width: 200px;
            height: 50px;
        }
        .right {
            background-color: white;
            width: 150px;
            height: 50px;
        }
        a {
            text-decoration: none;
            font-weight: 600;
        }
    </style>
</head>
<body>
    <header>
        <div class="left">
            <a href="#">欢迎您</a>
        </div>
        <div class="right">
            <a href="#">退出登录</a>
        </div>
    </header>
</body>
</html>